<?php
/**
 * 中通问题件留言系统接口
 * @author lx
 * 2016
 */

namespace soa\zt;

use soa\client;

class problem  extends client
{

    /**
     * 服务地址
     * @var string
     */
    public $service_url = 'http://express.core.kuaidihelp.com/';

    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_express';
	
	public function problem_reply_list($data){
		return $this->get('v1/parter/zt/getReplyProblemList',$data);
	}
	
	public function problem_reply($data){
		return $this->post('v1/parter/zt/replyProblem',$data);
	}

    public function topic_list_request($data){
        return $this->_request_api_url('v1/parter/zt/getProblemList',$data);
    }

    private function _request_api_url($api,$data = array()){
        return $this->request_api($api).'?'.http_build_query($data);
    }
}